package com.training.persistence.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table(name = "BOWL_GAME")
public class BowlGame  implements Serializable {

	@Id
	@Column(name = "HOME_TEAM", length = 25)
	private String homeTeam;

	@Column(name = "AWAY_TEAM", length = 25)
	private String awayTeam;
	
	@Column(name = "BOWLGAME_ID", length = 25)
	private Integer bowlgameId;
	
	@Column(name = "SPREAD")
	private Integer spread;
	
	@Column(name = "HI_LO")
	private Integer hiLo;
	
	@Column(name = "HOME_SCORE")
	private Integer homeScore;
	
	@Column(name = "AWAY_SCORE")
	private Integer awayScore;

	public String getHomeTeam() {
		return homeTeam;
	}

	public void setHomeTeam(String homeTeam) {
		this.homeTeam = homeTeam;
	}

	public String getAwayTeam() {
		return awayTeam;
	}

	public void setAwayTeam(String awayTeam) {
		this.awayTeam = awayTeam;
	}

	public Integer getBowlgameId() {
		return bowlgameId;
	}

	public void setBowlgameId(Integer bowlgameId) {
		this.bowlgameId = bowlgameId;
	}

	public Integer getSpread() {
		return spread;
	}

	public void setSpread(Integer spread) {
		this.spread = spread;
	}

	public Integer getHiLo() {
		return hiLo;
	}

	public void setHiLo(Integer hiLo) {
		this.hiLo = hiLo;
	}

	public Integer getHomeScore() {
		return homeScore;
	}

	public void setHomeScore(Integer homeScore) {
		this.homeScore = homeScore;
	}

	public Integer getAwayScore() {
		return awayScore;
	}

	public void setAwayScore(Integer awayScore) {
		this.awayScore = awayScore;
	}
	
	
}
